update index.html & app.php