updating directorylist