Update aggregateddatasets.R