use accumulator to update configuration when the add_configuration macro is called several times (still an error in the file generated)