[add] assign and remove a tag to an entry