update the index.php