merging data frames and some update