update for the search