rename tag.title to tag.name, do not allow duplicate tags