Upgrade according to the proper branch