Update Replica.java