Added another debug statement and fixed bug with updating articles.