added testcase for update-task