modfiy query