def METHOD_NAME(self, context):
    kind = self.selected_mode
    prop_name = kind + '_'
    self.inputs[0].replace_socket('SvStringsSocket', kind.title()).prop_name = prop_name
    self.outputs[0].replace_socket('SvStringsSocket', kind.title()).custom_draw = 'mode_custom_draw'
    updateNode(self, context)