UPDATE the linkedlist