Update Chat.java