type UpgradeList = HashMap<UpgradeKey, fn() -> Result<(), Error>>;