I want to ask you about presenceUpdateHandler

i have a question about presenceUpdateHandler. when user’s presence changed to unavailable, it calls (1)broadcastUpdate(presence.createCopy()) and (2)broadcastUnavailableForDirectedPresences(presence);
i think presence changing event delivered repetitively. can you exprain?