update middleware docs