update the summary