Update search_controller.rb