gen: update middleware versions