adapt Tag model