Update Registry.java