update text of form