add set auto commit on/off