update linkedlist dir