updating index, test hook