def METHOD_NAME(self, version):
    retVal = gServiceInterface.getVersionContents(version)
    if not retVal["OK"]:
        return S_ERROR(f"Can't get contents for version {version}: {retVal['Message']}")
    credDict = self.getRemoteCredentials()
    if "DN" not in credDict or "username" not in credDict:
        return S_ERROR("You must be authenticated!")
    return gServiceInterface.updateConfiguration(retVal["Value"], credDict["username"], updateVersionOption=True)