update index() for all controllers;