Add support for updating submodules and logging errors