added rough version of batch updates & deletes