Updates the txt