update tag not to duplicate tags