Updated the index to the working copy.