updated index.php file