updates to attachments