update documentations for lib