update to work new couchbase lite api