edit index