Move submodule update inside class black-box