def METHOD_NAME(self, item_id: UUID4, new_tag: TagIn):
    """Updates an existing Tag in the database"""
    save_data = mapper.cast(new_tag, TagSave, group_id=self.group_id)
    tag = self.repo.update(item_id, save_data)
    if tag:
        self.publish_event(
            event_type=EventTypes.tag_updated,
            document_data=EventTagData(operation=EventOperation.update, tag_id=tag.id),
            message=self.t(
                "notifications.generic-updated-with-url",
                name=tag.name,
                url=urls.tag_url(tag.slug, self.settings.BASE_URL),
            ),
        )
    return tag