a program for updating model threads