Changes the insert query because performance.