added delete tag functionality