update index controller test