implement use of couch base cas as document _rev