implemented textbox update