def METHOD_NAME(sender, instance, **kwargs):
    """Update the contact in Moneybird when the bank account is saved."""
    updated_fields = kwargs.get("update_fields", None)
    if updated_fields is not None and not any(
        field in updated_fields
        for field in ["owner", "iban", "bic", "initials", "last_name"]
    ):
        # Only update the contact when the bank account is changed
        return
    member = Member.objects.get(pk=instance.owner.pk)
    try:
        if member.profile.is_minimized:
            services.delete_contact(member)
        else:
            services.create_or_update_contact(member)
    except Administration.Error as e:
        send_sync_error(e, instance)
        logging.error("Moneybird synchronization error: %s", e)