update index.php paths