update TargetQuery