updated chat in sdk