update text when moving shapes