update chat.txt