update chat example