Updating a certain value in a dataset

I’m new to Java and i need to update a value in a dataset by adding 1, I’m doing this through the user pressing a button connected to the value through a repeater connected to a dataset. The code isn’t working and i was wondering if there is anything i can do to fix this?
import wixData from ‘wix-data’ ;
$w . onReady ( function () {

});

export function button1_click ( event ) {
let toUpdate = {
“myValue” : ( “myValue” + 1 )
};
}

If you want to update a DATASET-VALUE, then try this way…
https://www.wix.com/velo/reference/wix-dataset/dataset/setfieldvalue

If you want to do multiple updating, then use this one …
https://www.wix.com/velo/reference/wix-dataset/dataset/setfieldvalues