updating the summary