更新协议实现.

Signed-off-by: jack <jack.wgm@gmail.com>