update dependent libraries.
support print option.
refactor.
set print option to myself.