Rebuild links