Upgrade old linked attachments