A method for updating program data to update control programs of a microprocessor that controls an operation of an electronic component and the electronic component in a module that functions by causing the electronic component to operate, the method for updating program data comprising executing by the microprocessor: obtaining update information including one or more blocks each of which including identification information that identifies an update target, and program data for updating the control program of the update target corresponding to the identification information storing the program data included in the update information by each block on a memory; determining whether the update target is the microprocessor or the electronic component using the identification information; and updating the control program of the update target using the program data stored on the memory corresponding to the update target; characterized in that: data in the S-record format is used in the method for updating program data, wherein in each block the following information is written in a sequence: - a header record that indicates a start of a record and includes the identification information, wherein identification codes unique to the microprocessor and the electronic component are written in the identification information; - the program data for updating the control program of the update target corresponding to the identification information written in the header record; and - an end record that indicates a terminating end of the record. obtaining update information including one or more blocks each of which including identification information that identifies an update target, and program data for updating the control program of the update target corresponding to the identification information storing the program data included in the update information by each block on a memory; determining whether the update target is the microprocessor or the electronic component using the identification information; and updating the control program of the update target using the program data stored on the memory corresponding to the update target; data in the S-record format is used in the method for updating program data, wherein in each block the following information is written in a sequence: - a header record that indicates a start of a record and includes the identification information, wherein identification codes unique to the microprocessor and the electronic component are written in the identification information; - the program data for updating the control program of the update target corresponding to the identification information written in the header record; and - an end record that indicates a terminating end of the record. - a header record that indicates a start of a record and includes the identification information, wherein identification codes unique to the microprocessor and the electronic component are written in the identification information; - the program data for updating the control program of the update target corresponding to the identification information written in the header record; and - an end record that indicates a terminating end of the record.