update for search.php