update trained model