update java dependency