In reply to vitaliy:
Reprogramming your DUT via JTAG will be done through a JTAG agent using register commands. This will also update the registers in your testbench, i.e. the new configuration is also available in the UVM environment. This is a typical use-case what your are requesting.