Refactored link and reaction node update logic to their respective classes and basic CP updating