extracted save to TagManager
extracted updating a tag to TagManager