update chat chat for consumer-chat and provider-chat.html.