Handling Dynamics in Gossip-based Aggregation Schemes