update Singleton class