change api adapter