added hooks before push/remove of tag
refactor when calling tagsManager with string