Added delete function
Added delete function - updated argv variable