update distribution and metadata version