upDATE indexcontroller