delete fixes attempted.
adding update method to search controller.