def update_server(self, datacenter_id, server_id, **kwargs):
data = {}<EOL>for attr, value in kwargs.items():<EOL><INDENT>if attr == '<STR_LIT>':<EOL><INDENT>boot_volume_properties = {<EOL>"<STR_LIT:id>": value<EOL>}<EOL>boot_volume_entities = {<EOL>"<STR_LIT>": boot_volume_properties<EOL>}<EOL>data.update(boot_volume_entities)<EOL><DEDENT>else:<EOL><INDENT>data[self._underscore_to_camelcase(attr)] = value<EOL><DEDENT><DEDENT>response = self._perform_request(<EOL>url='<STR_LIT>' % (<EOL>datacenter_id,<EOL>server_id),<EOL>method='<STR_LIT>',<EOL>data=json.dumps(data))<EOL>return response<EOL>
Updates a server with the parameters provided.

:param      datacenter_id: The unique ID of the data center.
:type       datacenter_id: ``str``

:param      server_id: The unique ID of the server.
:type       server_id: ``str``