update the rmd file