Cobra is a open source library to support cobra upgrade online