Update chatclient.py