Update client API, support proto, document.