'Updates existing database details.
server_name:
Name of the server to contain the new database.
name:
Required. The name for the new database. See Naming Requirements
in Azure SQL Database General Guidelines and Limitations and
Database Identifiers for more information.
new_database_name:
Optional. The new name for the new database.
service_objective_id:
Optional. The new service level to apply to the database. For more
information about service levels, see Azure SQL Database Service
Tiers and Performance Levels. Use List Service Level Objectives to
get the correct ID for the desired service objective.
edition:
Optional. The new edition for the new database.
max_size_bytes:
Optional. The new size of the database in bytes. For information on
available sizes for each edition, see Azure SQL Database Service
Tiers (Editions).'

def update_database(self, server_name, name, new_database_name=None, service_objective_id=None, edition=None, max_size_bytes=None):

    _validate_not_none('server_name', server_name)
    _validate_not_none('name', name)
    return self._perform_put(self._get_databases_path(server_name, name), _SqlManagementXmlSerializer.update_database_to_xml(new_database_name, service_objective_id, edition, max_size_bytes))
