update the submodule reference, fail properly