store changes before squash