Update lib and docs.
Sync instructions in lib.