update text format