update text justification