update links to be relative