updates README with middleware usage