modify query.