update doc and xsummarise_each