updates to document cloud wrapper