add a private api for service gateway to update handles
Merge pull request #35 from SlimYang/master

add an internal api for update handles