Update Chain.php