Only add update node for once
Merge pull request #2796 from ke-yu/fix_customnode_perf

Fix performance issue in MAGN-4891