stashed the previous version of the index