change link type from context menu