updating dirs.