updating api url to new domains