api: fix updateFeed crashing (closes #616)