Updates index.php