update chat-adapter