fix bug where json var was replaced with the result json. add ability to update articles from UI.