updating texts correctly