update docstring
support saving summary data