def update(self, **kwargs):
if not self.object_id:<EOL><INDENT>return False<EOL><DEDENT>url = self.build_url(<EOL>self._endpoints.get('<STR_LIT>').format(id=self.object_id))<EOL>data = {self._cc(key): value for key, value in kwargs.items() if<EOL>key in {'<STR_LIT:name>',<EOL>'<STR_LIT:description>'}}  <EOL>if not data:<EOL><INDENT>return False<EOL><DEDENT>response = self.con.patch(url, data=data)<EOL>if not response:<EOL><INDENT>return False<EOL><DEDENT>new_data = response.json()<EOL>for key in data:<EOL><INDENT>value = new_data.get(key, None)<EOL>if value:<EOL><INDENT>setattr(self, self.protocol.to_api_case(key), value)<EOL><DEDENT><DEDENT>return True<EOL>
Updates this item

        :param kwargs: all the properties to be updated.
         only name and description are allowed at the moment.
        :return: Success / Failure
        :rtype: bool