Supposed bug fix for error in update.

The idea is, the fields per table are put in respective arrays and the
$changedkeyname is tested for membership in order to determine the table
it belongs to. But, the ajax call seemingly fails.