optimized update-index-delete