add parent_name to attachments