Update SearchController.php