This routine does what it is supposed to do but never executes the .done clause
function setUpdated(idRec) {
var updatePromise = $().SPServices({
operation: "UpdateListItems",
batchCmd: "Update",
listName: "{D3795486-9926-424E-8F14-59BE5DB65BA8}",
ID: idRec,
valuepairs: [["Exported", 1]]
}); //SPServices
//notify when done
updatePromise.done(function() {alert("we're done");});
updatePromise.fail(function() {alert("we failed");});
}