refactor tagging model