In theory your original approach should work, so I'd still be interested in the exact error you got. But as said I'd advice to use it, because it's a) not portable to fixed-schema stores and b) causes contention on that single document.