Update sampleapp.php