query changes