update for tag model