update to lesson controller