[CORE][DB] almost complete update of database indexes