modification of news index api