changing lesson api