added code for resetting auto increments