Fixed mining machines not updating properly