the index should have been the update script