update chat history view