example 2-9 and 2-10 Updating search results and updating the list of search results on the search click