updated Java files