updated doubly linked list