update ring code
Merge branch 'master' of github.com:gd-yang/jmap