update ui of tasks