update linked list content