updated chat snippet