values is only used to update data if values in data column are all identical