updates for lesson model