Steam's recently played with doesn't update?
Solution 1:
This is a Steam API feature that developers of may or may not implement in the multiplayer games that they publish on Steam.
In other words, the game must "reveal" to Steam the information that certain players have played together in a multiplayer game. Steam does not determine that on its own.
PUBG does not implement this feature, while CSGO does.