Update text on writing