[MifthDemo] rewritten UpdateManager.
update