How to sync up fork repo with appium master after merged PR?

I recently made a PR https://github.com/appium/appium/pull/17922.
It was merged into the Appium Master. That’s good but when I check back to my forked repo(https://github.com/pacozaa/appium).

It is saying that I am 3 commits ahead.

1 commit is the code that already merges with Appium master(It shouldn’t be here?)
2 commits came after I click “Sync fork”

How should I deal with this? How do you normally deal with this and prevent this from happening again?

Looks like a simple good would do https://www.google.com/search?q=github+Pr+merged+but+still+ahead&oq=github+Pr+merged+but+still+ahead&aqs=chrome..69i57j69i64.12297j0j7&sourceid=chrome&ie=UTF-8

https://stackoverflow.com/questions/7244321/how-do-i-update-or-sync-a-forked-repository-on-github