update trained_model