fixed bug where consolidated index uses sets instead of lists
Update updates the inverted index