add delete url function