Added delete tag funcion