Changes way in which data is inserted into mysql