added ability to create from write batch, supporting commit upstream