updating box model and height of tag