update some comments in preview lib