Ensure data in submodule is up to date before overwriting.