Update patent models and patent trainer.