updates to java classes