change CouchDB endpoint