Add query by services. Update routes.