Update MasterConnection.java