updated populateRtvRecords for new plugin