sync with xapi