modify local links