Set upsert parameter to true for modifying sample group by, for new data
sets being entered in to the database.