fixed upgrade process from stable to master