pre-upgrade