update the modal to sync with the summary