udpate ui of tasks