update the name in the file