Update index method in steps controller.