Implemented upgrade methods for Bee.