code: def upgrade_settings(
      self, setting_values, variable_revision_number, module_name
  ):
      if variable_revision_number == 1:
          # Added ability to crop objects
          new_setting_values = list(setting_values)
          new_setting_values.append("None")
          variable_revision_number = 2
  
      if variable_revision_number == 2:
          # minor - "Cropping" changed to "Previous cropping"
          setting_values = list(setting_values)
          if setting_values[OFF_SHAPE] == "Cropping":
              setting_values[OFF_SHAPE] = SH_CROPPING
          #
          # Individually changed to "every"
          #
          if setting_values[OFF_INDIVIDUAL_OR_ONCE] == "Individually":
              setting_values[OFF_INDIVIDUAL_OR_ONCE] = IO_INDIVIDUALLY
  
          setting_values = setting_values[:10] + setting_values[11:]
  
          variable_revision_number = 3
  
      return setting_values, variable_revision_number
  
imports: import logging
  import math
  import centrosome.filter
  import matplotlib.axes
  import matplotlib.cm
  import matplotlib.figure
  import matplotlib.patches
  import numpy
  from cellprofiler_core.image import Image
  from cellprofiler_core.module import Module
  from cellprofiler_core.preferences import get_primary_outline_color
  from cellprofiler_core.setting import Coordinates
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.range import IntegerOrUnboundedRange
  from cellprofiler_core.setting.subscriber import CropImageSubscriber
  from cellprofiler_core.setting.subscriber import ImageSubscriber
  from cellprofiler_core.setting.subscriber import LabelSubscriber
  from cellprofiler_core.setting.text import CropImageName
  from cellprofiler_core.setting.text import Integer
  from cellprofiler_core.utilities.image import crop_image
label_desc: Use image node_id 13 for calling the Crop obj's underlying member method code with example usage: obj.upgrade_settings(setting_values, variable_revision_number, module_name) and returns: setting_values,  variable_revision_number