support bridge2

modify register and unregister interface