Update core/index.php