update document for cross validation