Update version info. Throw exceptions on critical errors.