copy changes on the index