edit index loaction