def METHOD_NAME(db, name, fld, val):
    tbl = db.cfgdb.get_table('FEATURE')
    if name not in tbl:
        click.echo("Unable to retrieve {} from FEATURE table".format(name))
        sys.exit(1)
    try:
        config_db = ValidatedConfigDBConnector(db.cfgdb)
        config_db.mod_entry('FEATURE', name, { fld: val })
    except ValueError as e:
        ctx = click.get_current_context()
        ctx.fail("Invalid ConfigDB. Error: {}".format(e))