code for change lnk(temp)