Update matchRegister.java