update tag model