update java doc