manually update db index