Update version in java