def update_zone(apiclient, args):
    """
    Update the SSL certificate of a given zone

    :param apiclient maxcdn_ssl_client.client.SslApiClient: MaxCDN API client
    :param args argparse.Namespace: Command line arguments
    """
    apiclient.add_certificate_for_zone(args.zoneid,
                                       args.certificate,
                                       args.key,
                                       args.chain,
                                       args.ignore_missing_domains)
    return 0