Added upload action to attachments