update remote.java