Update algorithm_detail.php