functionality to update connectivity upon deleting ions