updated ui with textbox