Update Chaining.class.php