add index on streams