update Chat
add chat record