Updated chat example