update medium size