update table functions/captions; typo fix in knitr file