query variables updated