Added to update couchdb views