Atomic update on node pointers