update typedef enums lecture for https and typo