Java Script: Upsert data - Primary keys should be included in the data payload in order for an update to work correctly.