added threading/continuous update