Updated the text editor