update RegisterSingleton