there's was an article a while back I read about which Android phones have been getting the updates first and OnePlus was on the list along with Google and Blackberry.
Although they're still behind the up to date security updates. OnePlus 5 has May Security Update and there's already July Security update. That's still a lot better and faster than some bigger companies have to offer so far.
Cheers