fixed multiple updates on node inserting, performance issue