change data-link to data-type