Update RegistryHelper.cs