upsert checks updates before saving

Upsert now checks update fields and only saves updates if something has changed