Update Index.php according to the structure