Update index.php syntax