update 17 files inspired by Yihui Xie