Fix typos in readme.md

Replace some `filter` by `directive`
merge doc change