updated tag deletion functions