moved
update index controller to config