implement model.destroy