Update the IndexController