updated CPWRDocumentsViewController.m