def update_slots(self, event):
        """
        :type lex_input_event: LexInputEvent
        :return: None
        """
        if isinstance(event, LexInputEvent):
            event_slots = event.currentIntent.slots
        elif isinstance(event, basestring) or isinstance(event, unicode) or isinstance(event, str):
            event_slots = deepcopy(json.loads(event)['currentIntent']['slots'])
        else:
            event_slots = deepcopy(event['currentIntent']['slots'])

        for key, val in event_slots.items():
            if key not in self.dialogAction.slots._schema.fields:
                field = Field(key, types.StringType())
                self.dialogAction.slots._schema.append_field(field)
            self.dialogAction.slots[key] = val