using friendly-id new api
Merge pull request #507 from jasl/fix-friendly-id

更新friendly-id的调用