updated the text area code