Events in the k>=10000<20000 are replaceable by kind. So each pubkey only has one of them. A good example is the k:10002 events
Events in the k>=30000<40000 are replacable by "d" tag. So when a new event is published it replaces the old one with the same "d" tag. A good example would be the NIP-23 article events