Minor changes to reset the auto increment of the table before adding