Update textfile for tag