updating txt files