Update CodeLesson controller