fixing bug where all updates recalculated after a node change