updated java doc