dot-update_chain_stat function

Determine and update the chain statistic being tracked