Fixed a bug in the feed update routine