Update upgrade.php