FIX update node pointer after realloc