Bulk updates rows in a table

        :type table: str or dict or :class:`Table <querybuilder.tables.Table>`
            or :class:`Query <querybuilder.query.Query>` or :class:`ModelBase <django:django.db.models.base.ModelBase>`
        :param table: The table to select fields from. This can be a string of the table
            name, a dict of {'alias': table}, a ``Table`` instance, a Query instance, or a
            django Model instance

        :type field_names: list
        :param field_names: A list of ordered field names that relate to the data in the values list

        :type values: list of list
        :param values: A list each values list with the values in the same order as the field names

        :type pk: int
        :param pk: The name of the primary key in the table and field_names

        :param kwargs: Any additional parameters to be passed into the constructor of ``TableFactory``

        :rtype: :class:`Query <querybuilder.query.Query>`
        :return: self

def update_table(self, table=None, field_names=None, values=None, pk=None, **kwargs):
        """
        Bulk updates rows in a table

        :type table: str or dict or :class:`Table <querybuilder.tables.Table>`
            or :class:`Query <querybuilder.query.Query>` or :class:`ModelBase <django:django.db.models.base.ModelBase>`
        :param table: The table to select fields from. This can be a string of the table
            name, a dict of {'alias': table}, a ``Table`` instance, a Query instance, or a
            django Model instance

        :type field_names: list
        :param field_names: A list of ordered field names that relate to the data in the values list

        :type values: list of list
        :param values: A list each values list with the values in the same order as the field names

        :type pk: int
        :param pk: The name of the primary key in the table and field_names

        :param kwargs: Any additional parameters to be passed into the constructor of ``TableFactory``

        :rtype: :class:`Query <querybuilder.query.Query>`
        :return: self
        """
        table = TableFactory(
            table=table,
            **kwargs
        )
        self.tables.append(table)

        self.field_names = field_names
        self.values = values
        self.field_names_pk = pk