Added the updated lesson api