updated for the search page