Change the method of inserting data