Laravel – Can’t update multiple columns at once

I have $projectFieldOptions variable and it’s output is this https://codeshare.io/0gN9V8.

Now, I want to update the table based on the id_feed_mappings column. To do that I am running this code but it’s not updateing:

foreach ($projectFieldOptions as $mapping) {
                        
    if($mapping['custom']) {
        $internal_field_slug = $mapping['custom_field'];
    } else {
        $internal_field_slug = isset( $mapping['text'] ) ? $mapping['text']  : '';
    }
 
  
    $field_mapping = DB::connection($db_name)->table($db_name . ".feed_mappings")->where('id_feed_mappings', $mapping['id_feed_mappings'])->update([
        'id_feed'       => $id_feed,
        'id_project'    => $token,
        'import_field_slug' => $mapping['value'],
        'internal_field_slug' => $internal_field_slug,
        'custom_field'  => $mapping['custom'],
        'updates'   =>  $mapping['updates'],
        'removes'   =>  $mapping['removes'],
        'import'        => 1,
        'date_add'      => now(),
        'date_upd'      => now()
    ]);
         
}