added delete attachments