update threshfilename