update link to be relative