update task status handling in run