update document and remove redundant dependency