query chnage