update curveanalyzer and test.