change the cn url for the good api url