update reverse linkedlist