update config and sources for relative links.