Update AlgorithmComponent.php