Update link files and dirs.