upsert instead of insert in cstorage for new events