Changed the way the insert handles with MySQL