update the index route