How to updated the block attribute filed value

If they really are block references, try this node:
image