code: def update(self, path):
          
          self._reset()
          self.path = path
          self._refresh_synced()
          if self.is_synced:
              self._refresh_path()
              self._refresh_signed()
              self._refresh_nvr()
docs: Update the attributes of this CartItem.