def METHOD_NAME(self, stack_name: str, template_url: str, tags: list = None, parameters: list = None):
    """Update CFN stack by using the given template url."""
    optional_args = {
        "Tags": tags,
        "Parameters": parameters,
    }
    optional_args_with_value = remove_none_values(optional_args)
    return self._client.update_stack(
        StackName=stack_name,
        TemplateURL=template_url,
        Capabilities=["CAPABILITY_IAM", "CAPABILITY_NAMED_IAM"],
        **optional_args_with_value,
    )