edit, add to index