Update index.php to v2