Update link and active references across pages