updates for attachments to contracts