working on xapi sync