update index.php vars