add utility methods to datastructure object
update couchdb2