Formalize upgrade