update the .Rmd file