add toggle submodule and example for custom parent ref feature