edit  index