updated Query documentation