update text formating