More refactoring of link and reaction node updating logic