update generated url to match the java8 style