[fix] Upgrade script