more changes from UIDocument to iCloudDocument