Updated QueryAsync example