update to Rmd