updated search results to view correctly