Update sample.php