I updated the line item to
$w('#dataset1').refresh();
but I got the following error:
save operation failed: DatasetError: Operation (save) not allowed during save
So I tried removing the .save() but got another error:
save operation failed: DatasetError: Some of the elements validation failed