update ServerMain.java