Refactoring linked data and updating specs accordingly