Restored changes against index lock to avoid concurrency problems