updating index router