updated ChunkReplicator for replication