Replace 'case_record' with columns for wins and losses and add 'firm' column.