changes search routes to get