delete pet update with pet index