update middleware
update middleware 3.5
update middleware lib 3.5