batch commit