add chat to xml