upgrade java module