updated miner and permit