def update_diamond_columns(selected_vars):
    """
    Update the columns of the diamond data table
    :param selected_vars: variables selcted by user
    :return: selected cols as list
    """
    columns = []
    for variable in selected_vars:
        columns.append({"name": variable, "id": variable})
    return columns