change link type