def METHOD_NAME(cls, user):
    if user.moderation_status == User.MODERATION_STATUS_APPROVED:
        SearchIndex.objects.filter(user=user).update(
            tags=list(UserTag.objects.filter(user=user).values_list("tag", flat=True)),
        )