Java Reverse update