api upgrade