add state info to web interface