update reverse linked list II