update to controller and search view