update for text field