updates the search form