def update_field_name(row, short_cols):
    """ Update all field names provided to match the lowercased DAIMS headers rather than the database names

        Args:
            row: the dataframe row containing information about a cell, including the header and contents
            short_cols: A dictionary of lowercased DAIMS headers keyed by database column names

        Returns:
            The DAIMS version of the header if it can be derived from the column list, otherwise the header provided
    """
    if row['Field Name'] in short_cols:
        return short_cols[row['Field Name']]
    return row['Field Name']