update text and css