CouchDB V1.1, added non woring save to DB code.