updated chat system