def update(self, **kwargs):
do_simple_update = kwargs.get('<STR_LIT>', True)<EOL>no_of_updates = <NUM_LIT:0><EOL>for model in self:<EOL><INDENT>no_of_updates += <NUM_LIT:1><EOL>model._load_data(kwargs)<EOL>model.save(internal=True)<EOL><DEDENT>return no_of_updates<EOL>
Updates the matching objects for specified fields.

Note:
    Post/pre save hooks and signals will NOT triggered.

    Unlike RDBMS systems, this method makes individual save calls
    to backend DB store. So this is exists as more of a comfortable
    utility method and not a performance enhancement.

Keyword Args:
    \*\*kwargs: Fields with their corresponding values to be updated.

Returns:
    Int. Number of updated objects.

Example:
    .. code-block:: python

        Entry.objects.filter(pub_date__lte=2014).update(comments_on=False)