Update Slave.java