Update link structure and rebuild