updated the modal.