index update to get route for showing all todos