add method for modifying tags