add correct datahook to index rows