Updated the search action.