updated link method