updated documents. and some minor changes.