update for modal