Fixed #130 -- Made updating an index dependent on should_update.