edit index and contact