update for search class