Updating the shape field