def update_image(self, image_id, **kwargs):
data = {}<EOL>for attr, value in kwargs.items():<EOL><INDENT>data[self._underscore_to_camelcase(attr)] = value<EOL><DEDENT>response = self._perform_request(url='<STR_LIT>' + image_id,<EOL>method='<STR_LIT>',<EOL>data=json.dumps(data))<EOL>return response<EOL>
Replace all properties of an image.