add CODE_UPGRADE