added ... in update_sample.R