create a upgradeScript