Updtaed the index and resume file