Update Ring.java