changing the text property value