update initializeAvailableShards