change type of link