working on correct batch updates