update ThemeManager