update threadsave