updating text for texts