Updating Variable Errors in Index.php