Upgrade state prototype