updating text data