Update directories.