update reference to data frame in wide format fun.