fix editArticle in Model, complete edit function