update sample_types if needed when user imports data