Add soft delete function