modify controller index