update modal window