Update ChatManager.java