Update search-controller.js