updated state system for miner