added delete functionality for lesson_types