Delete and recreate the links.