basic write batch support