batch commit in root query