query was updated