small fix to update chat example