update text spacing