updates the link