updated query syntax docs