Update LinkedList.ts