update article.api.resource code