<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_all(self, criteria: Q, *args, **kwargs):
 """Update all objects satisfying the criteria """

        items = self._filter(criteria, self.conn['data'][self.schema_name])

        update_count = 0
        for key in items:
            item = items[key]
            item.update(*args)
            item.update(kwargs)
            self.conn['data'][self.schema_name][key] = item

            update_count += 1

        return update_count