update couchdb and add index page