Create secondary indexes with relations + add events