update API to corresponding XS version