Update searchController.php