renaming `redcap_write` to `redcap_write_oneshot`