updated the edit and index files