Update txt file