After the characters in the read electronic image data are identified by the method such as OCR and converted to electronic character data, the aggregate of the instruction words in the electronic character data is stored in a program storage unit such as the hard disk as a new control program, thereby updating the control program.