updated the chat window