updating text field