updating gui for text processor