adds in txt update code again