Suppose I start with a data frame:
ID Measurement1 Measurement2 1 45 104 2 34 87 3 23 99
library(dplyr) df1 %>% anti_join(df2, by = "ID") %>% bind_rows(df2) %>% arrange(ID)