add support for multiple attachments + allow editing of existing
attachments