<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(self, **kwargs):
 r"""Bulk updates this permission object. Allows you to set multiple attributes by using keyword arguments. The names must be equivalent to the properties listed. Extraneous key/value pairs will be silently ignored. Parameters \*\*kwargs A list of key/value pairs to bulk update permissions with. """

        for key, value in kwargs.items():
            try:
                is_property = isinstance(getattr(self.__class__, key), property)
            except AttributeError:
                continue

            if is_property:
                setattr(self, key, value)