Update directory.