Update INSERT query code.