I.1.0.0: refactorize upgrade process in some roles