save changes

save changes to index