PyFITS method change adaptation

changed header.update to header.set following A. Bukva's tip. (thanks!)