update lineheight and bottom paddings