deleting pupils and teachers with team