update knitr settings