Add, delete and update document attachments