update text properties