test index edit