Batch updates to Cayley db for speed.