Update Accounting code to work with couchbase server 2.0.0