Updating displays of the text file