Split upgrade process into two parts, to have some progress shown in the frontend