update across query