finish upgradingfrom 22