Updating index.php of the rest folder