use proper method to upgrade app [ci skip]