Update data of Bullet-Indicator

Hi. As I’m totally new to Plotly I’m impressed by the simplicity of creating a Bullet-Indicator; the example code show on the homepage will do the job for my needs. Only thing to understand is how to update the “value”-value in a while-loop, as i’ll show values from a ADC-reading with the Bullet-Indicator.
Code shown here: https://pastebin.com/DBy8w4dx
Thanks for your help.