MODE-2044 Implemented the upgrade function for the 3.6.0 release.