fixed two indexing bugs

1. case-sensitive searches for lower case terms returned false negatives (specifically, it included entries where the term contains uppercase letters)
2. Update didn't do a full search for every index term