update demo.php