update doc query routes