[MifthDemo] rewritten UpdateManager.