modify the index model and the view