Attribute doesn't update

You have to divide the shape in multiple shapes: