Update linkedlist