update root on change and add more log outputs
chnage queue.put_nowait() to queue.put()