Updating submodules. Adding history counter to saved variables.