update partition