update Reverse Linked List class