Fix update
Add missing index