def update(self):
if not self._track_changes:<EOL><INDENT>return True  <EOL><DEDENT>data = self.to_api_data(restrict_keys=self._track_changes)<EOL>response = self.session.patch(self.build_url('<STR_LIT>'), data=data)<EOL>if not response:<EOL><INDENT>return False<EOL><DEDENT>data = response.json()<EOL>for field in self._track_changes:<EOL><INDENT>setattr(self, snakecase(field), data.get(field))<EOL><DEDENT>self._track_changes.clear()<EOL>return True<EOL>
Update this range