You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: categories.rb
    path of file: ./repos/discourse/lib/seed_data
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module SeedData
  class Categories
    def self.with_default_loca
    
    def update(site_setting_names: nil, skip_changed: false)
      I18n.with_locale(@locale) do
        categories(site_setting_names).each do |params|
          params.slice!(:site_setting_name, :name, :description)
          params[:skip_changed] = skip_changed
          update_category(**params)
        end
      end
    end