update text position