update to new linkedlist api