add summaries to xml