replace the new update code with the old one to see if the accuracy problem comes from that