update modal size