update terminal.txt - tail