updating Models with correct links