Updating TDAgent (runEpoch)