updates in index and test