Added functionality to update/edit articles