update mining once.