Updates to the miner, cleaning and learning