updated shard spaces and continuous queries