sync api module with client