update symlink generate code