moving update patent_total_articles metho to model , not finished yet