Yeah so that does update the status of the checkbox when the variable state has changed. Still you will have to make a request from your browser to see the 'updated' page.
if you add
<META http-equiv="refresh" content="10;URL=/">
to the webpage, you can automate that to happen every 10 seconds