modify registry.