Update ChatFunctions.java