Update common node for two linked list