add rewrite, list, update to couchdb design document