const data = {...}; // once you have an instance of the record from a read or query response // you can simply call the update method with the new data object. await record.update({data});