updated api URLs to the DNS based ones