def update(isamAppliance, service_name, attribute_name, attribute_value, check_mode=False, force=False):
    """
    Updating a service attribute
    """

    check_value, warnings = _check_add(isamAppliance, service_name, attribute_name, attribute_value)

    if force is True or check_value is True:
        if check_mode is True:
            return isamAppliance.create_return_object(changed=True, warnings=warnings)
        else:
            return isamAppliance.invoke_put("Updating a service attribute",
                                            "{0}{1}/attributes/{2}".format(module_uri, service_name, attribute_name),
                                            {
                                                "value": attribute_value
                                            },
                                            requires_modules=requires_modules, requires_version=requires_versions,
                                            requires_model=requires_model)
    else:
        return isamAppliance.create_return_object(warnings=warnings)