made batch update for contacts cope with delete