update text box to search box