disallow changing of shard attributes on update