adding loop update

task list is not updated automatically every 3 seconds.