update for search logic