add delete appointment function