change route for search