updating data sets and samples