Update AutocompleteController.php