updated document
updated java doc