added patch for API url