updating links in schemata