<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, path):
 """ Update the attributes of this CartItem. """

        self._reset()
        self.path = path
        self._refresh_synced()
        if self.is_synced:
            self._refresh_path()
            self._refresh_signed()
            self._refresh_nvr()