Update the linked list