Update registration.java