Added existing tags editing function