These update routines modify the value of the keyword if it already exists, otherwise the new keyword is appended to the header.
int fits_update_card / ffucrd (fitsfile *fptr, char *keyname, char *card, > int *status)
int fits_update_key_str / ffukys (fitsfile *fptr, char *keyname, char *value, char *comment, > int *status) int fits_update_key_[log, lng] / ffuky[lj] (fitsfile *fptr, char *keyname, DTYPE numval, char *comment, > int *status) int fits_update_key_[flt, dbl, fixflt, fixdbl] / ffuky[edfg] (fitsfile *fptr, char *keyname, DTYPE numval, int decimals, char *comment, > int *status)
int fits_update_key_null / ffukyu (fitsfile *fptr, char *keyname, char *comment, > int *status)