updated docs and library
updated docs and library