fixed accUpdate bug