Coding error detected, it must be fixed by a programmer: moodle_database::update_record_raw() id field must be specified.