updating mining stats