update before submodule checkout