updating index and resume