Update Discovery.php