add members and edit index