Upgrade rev number