Improvement of Cas management while updating. Should be able to chain updates with optimistic locks over documents