def METHOD_NAME(user, org, feature, value):
    try:
        org_data = UserOrgMappings.objects(user=user,
                                           organization=org,
                                           feature_type=feature,
                                           ).get()
        org_data.value = value
        org_data.save()
    except DoesNotExist:
        UserOrgMappings(
            user=user,
            organization=org,
            feature_type=feature,
            value=value
        ).save()