More couchdb access fixes

Have to include ID in PUT