update DeleteMidNode.java