regenerate links