update training model