Changed set_indexes into update_indexes_internal in hdb_tool