update middleclass to v3.0.1