update migration to store ref to legacy path instead of copying files over.