update file and add str