auto batch commit