implement text_update changes