update readme middleware style