delete offer function