Made updating an index dependent on should_update = True

Fix for issue #130, makes the update_index hook respect the should_update override in SearchIndex.