Fix task update