set save query from validation method