updated index and midtermak