updated Rmd