Generate Store controller, update index method