You have to debug ajax calls which is easier with tools like Firebug. But anyway, I think you should check the UPDATE query from the updateMemberAjx()
function. You can try to display the query instead of the success message by assigning the query to a variable in each case statement like:
case 'first_name':
$GLOBALS['MySQL']->res("UPDATE `pd_profiles` SET `first_name`='{$sVal}' WHERE `id`='{$iId}'");
// assign the query to a temp variable
$temp = "UPDATE `pd_profiles` SET `first_name`='{$sVal}' WHERE `id`='{$iId}'"
and changing line 098 from:
echo 'Successfully saved';
to:
echo $temp;
This way the query will be diplayed upon an update. You can copy it and test in phpmyadmin whether it contains any errors.