api server sync