preserve attachments when editing a post