change insert query