updated the style of the text box