Fix the logic for wrappers update and symlinks.