Updated getLesson and getChallenge