Add index to student action