updating margins and font size