added query to search route