update MNIST temp data