updated the miner