Updated CouchDB configuration; improved CouchManager