refactored aggregated feed update code