wip casexml updates for attachments