remove temp global variable m of updateCheckNode,
time almost the same