updated link expansion