update shard