update lesson controller