modify link data with relative pat