Fix the upgeade path.
Merge pull request #84 from Gizra/83

Fix the upgrade path.