updates to revised version of document cloud wrapper