def upd_cat_vals(cat):
    """
    Function upd_cat_vals takes in a category value string and returns just the integer

    Parameters:
    cat: A category value

    Returns:
    val: The integer value found in the category string

    """
    # set each value to be the last character of the string
    val = cat[cat.index('-')+1:]

    # convert column from string to numeric
    return int(val)