Updating java config