change query form