updating relative links for submit and join pages