Your plugin page has this on line 4:
$_POST['buc_couID'] = $WADAbuckets_lang1->getColumnVal("buc_couID");
That is going to break it when you update with ajax since the recordset won't exist.
I think that code should be moved to the update page around line 109 instead.