trying upsert instead of insert