edit index and home