keep and iterate a list of upgrades, fixes #175
Merge pull request #177 from lyqyd/master

keep and iterate a list of upgrades, fixes #175