update links to point to the correct location