added editing of tags