add in published flag algorithm, siwtch clustering on with config option
update fingerprint ewma correctly