updated main API url