do git submodule stuff before updated