implenented change id in ChatManager