Updated miner and db