An update file for updating a program in a camera head is read out of a
memory card by using a body central processing unit, and names of a
manufacturer, a product type, and a version are extracted. The names
acquired from the memory card are compared with names of the
manufacturer, the product type, and the version acquired from the camera
head. Update data included in the update file are transmitted to a
non-volatile memory in the camera head to update the program in the
camera head only when the names of the manufacturer and the product type
coincide with one another and when the version of the update file is
newer than the version of the program in the camera head.