update document
remove useless variable