The upgrade procedure is currently at EXPERIMENTAL level.
The attached script may be used for the purpose but hasn’t been tested ultimately on real installations yet. Anyway as a developer you may want to try it and report any problem you might have.