<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, data=None, **kwargs):
 """ Update the record right away. :param data: dictionary of changes :param kwargs: possibly a list of keyword args to change """

        if data is None:
            data = {}
        data.update(kwargs)
        return self.model.write([self.id], data)